/**
 * Created by luyon on 17/8/23.
 */

"use strict";

//=========================
// 引入子组建和子组建reducer
//=========================

export const REPLY = "REPLY";

const initialState = {
    data:[{
        commentId: "",
        list: []
    }
    ]
}


export const ReplyReducers = (state = initialState, action) => {
    switch (action.type) {
        case REPLY :
            return state = action.data;
        default :
            return state;
    }
};

export const mapStateToProps = state => {
    console.log("replyList--------->>>>>" ,state.app.filmDetail.replyList)
    return {

        r: state.app.filmDetail.replyList,

    }
};

export const mapDispatchToProps = dispatch => {
    return {}
};

